home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•Sports Palace•
/
Golf Mac Way ••
/
Golf Mac Way
/
Golf Mac Way.rsrc
/
CODE_1.txt
< prev
next >
Wrap
Text File
|
1988-10-24
|
10KB
|
174 lines
# near model CODE resource
# jump table entries: 0-0 (1 of them)
export_0:
00000000 99CC sub.l A4, A4
00000002 A036 syscall MoreMasters
00000004 A036 syscall MoreMasters
00000006 42A7 clr.l -[A7]
00000008 2F3C 4143 524C move.l -[A7], 0x4143524C /* 'ACRL' */
0000000E 487A 0188 pea.l [PC + 0x188 /* 00000198, value 0x6626173, pstring "bas.rl" */]
00000012 A9A1 syscall GetNamedResource
00000014 281F move.l D4, [A7]+
00000016 6716 beq +0x18 /* 0000002E */
00000018 21C4 0A78 move.l [0x00000A78 /* ApplScratch */], D4
0000001C 2044 movea.l A0, D4
0000001E A029 syscall HLock
00000020 2810 move.l D4, [A0]
00000022 0284 00FF FFFF andi.l D4, 0xFFFFFF
00000028 2644 movea.l A3, D4
0000002A 4EFA 0100 jmp [PC + 0x100 /* 0000012C */]
label0000002E:
0000002E 203C 0000 9C40 move.l D0, 0x9C40
00000034 A122 syscall NewHandle, flags=1
00000036 670A beq +0xC /* 00000042 */
00000038 487A 017E pea.l [PC + 0x17E /* 000001B8, value 0xD4F7574 '\rOut', pstring "Out of memory" */]
0000003C 42A7 clr.l -[A7]
0000003E 4EFA 0116 jmp [PC + 0x116 /* 00000156 */]
label00000042:
00000042 A029 syscall HLock
00000044 21C8 0A78 move.l [0x00000A78 /* ApplScratch */], A0
00000048 2810 move.l D4, [A0]
0000004A 0284 00FF FFFF andi.l D4, 0xFFFFFF
00000050 2644 movea.l A3, D4
00000052 204B movea.l A0, A3
00000054 D1FC 0000 9840 add.l A0, 0x9840
0000005A 2248 movea.l A1, A0
0000005C 303C 0025 move.w D0, 0x25 /* '%' */
label00000060:
00000060 4259 clr.w [A1]+
00000062 51C8 FFFC dbf D0, -0x6 /* 00000060 */
00000066 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
0000006A 6B40 bmi +0x42 /* 000000AC */
0000006C 43FA 011A lea.l A1, [PC + 0x11A /* 00000188, value 0xE424153, pstring "BASIC Overlays" */]
00000070 2149 0012 move.l [A0 + 0x12], A1
00000074 42A8 0030 clr.l [A0 + 0x30]
00000078 303C 0001 move.w D0, 0x1
0000007C A060 syscall FSDispatch/HFSDispatch
0000007E 4A40 tst.w D0
00000080 6606 bne +0x8 /* 00000088 */
00000082 4EBA 007C jsr [PC + 0x7C /* 00000100 */]
00000086 6752 beq +0x54 /* 000000DA */
label00000088:
00000088 3178 0210 0016 move.w [A0 + 0x16], [0x00000210 /* BootDrive */]
0000008E 42A8 0012 clr.l [A0 + 0x12]
00000092 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00000094 43FA 00F2 lea.l A1, [PC + 0xF2 /* 00000188, value 0xE424153, pstring "BASIC Overlays" */]
00000098 2149 0012 move.l [A0 + 0x12], A1
0000009C 303C 0001 move.w D0, 0x1
000000A0 A060 syscall FSDispatch/HFSDispatch
000000A2 4A40 tst.w D0
000000A4 6606 bne +0x8 /* 000000AC */
000000A6 4EBA 0058 jsr [PC + 0x58 /* 00000100 */]
000000AA 672E beq +0x30 /* 000000DA */
label000000AC:
000000AC 4268 0016 clr.w [A0 + 0x16]
000000B0 4EBA 004E jsr [PC + 0x4E /* 00000100 */]
000000B4 6724 beq +0x26 /* 000000DA */
000000B6 3178 0210 0016 move.w [A0 + 0x16], [0x00000210 /* BootDrive */]
000000BC 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
000000C0 6B06 bmi +0x8 /* 000000C8 */
000000C2 42A8 0012 clr.l [A0 + 0x12]
000000C6 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
label000000C8:
000000C8 4EBA 0036 jsr [PC + 0x36 /* 00000100 */]
000000CC 670C beq +0xE /* 000000DA */
000000CE 487A 00DC pea.l [PC + 0xDC /* 000001AC, value 0xB43616E, pstring "Cannot find" */]
000000D2 2F28 0012 move.l -[A7], [A0 + 0x12]
000000D6 4EFA 007E jmp [PC + 0x7E /* 00000156 */]
label000000DA:
000000DA 214B 0020 move.l [A0 + 0x20], A3
000000DE 217C 0000 9C40 0024 move.l [A0 + 0x24], 0x9C40
000000E6 4268 002C clr.w [A0 + 0x2C]
000000EA A002 syscall Read
000000EC 4A40 tst.w D0
000000EE 672C beq +0x2E /* 0000011C */
000000F0 0C40 FFD9 cmpi.w D0, 0xFFD9
000000F4 6726 beq +0x28 /* 0000011C */
000000F6 487A 00CE pea.l [PC + 0xCE /* 000001C6, value 0x14424153, pstring "BASIC Internal Error" */]
000000FA 42A7 clr.l -[A7]
000000FC 4EFA 0058 jmp [PC + 0x58 /* 00000156 */]
fn00000100:
00000100 43FA 0096 lea.l A1, [PC + 0x96 /* 00000198, value 0x6626173, pstring "bas.rl" */]
00000104 2149 0012 move.l [A0 + 0x12], A1
00000108 4228 001A clr.b [A0 + 0x1A]
0000010C 117C 0001 001B move.b [A0 + 0x1B], 0x1
00000112 42A8 001C clr.l [A0 + 0x1C]
00000116 A000 syscall Open/PBHOpen/HOpen
00000118 4A40 tst.w D0
0000011A 4E75 rts
label0000011C:
0000011C A001 syscall Close
0000011E 2028 0028 move.l D0, [A0 + 0x28]
00000122 21C0 0A7C move.l [0x00000A7C], D0
00000126 2078 0A78 movea.l A0, [0x00000A78 /* ApplScratch */]
0000012A A024 syscall SetHandleSize
label0000012C:
0000012C 4E56 FEAE link A6, -0x0152
00000130 244F movea.l A2, A7
00000132 43F8 0910 lea.l A1, [0x00000910 /* CurApName */]
00000136 203C 0000 0020 move.l D0, 0x20 /* ' ' */
label0000013C:
0000013C 34D9 move.w [A2]+, [A1]+
0000013E 51C8 FFFC dbf D0, -0x6 /* 0000013C */
00000142 244F movea.l A2, A7
00000144 7E00 moveq.l D7, 0x00
00000146 203A 0058 move.l D0, [PC + 0x58 /* 000001A0, value 0x1582, cstring "" */]
0000014A 2C3A 0058 move.l D6, [PC + 0x58 /* 000001A4, value 0x5CDC, cstring "" */]
0000014E 283A 0058 move.l D4, [PC + 0x58 /* 000001A8, value 0x17A, cstring "" */]
00000152 4EEB 0074 jmp [A3 + 0x74]
label00000156:
00000156 42B8 0A78 clr.l [0x00000A78 /* ApplScratch */]
0000015A 486D FFFC pea.l [A5 - 0x4]
0000015E A86E syscall InitGraf
00000160 A8FE syscall InitFonts
00000162 A912 syscall InitWindows
00000164 A930 syscall InitMenus
00000166 A9CC syscall TEInit
00000168 42A7 clr.l -[A7]
0000016A A97B syscall InitDialogs
0000016C A850 syscall InitCursor
0000016E 42A7 clr.l -[A7]
00000170 42A7 clr.l -[A7]
00000172 A98B syscall ParamText
00000174 4267 clr.w -[A7]
00000176 3F3C 0109 move.w -[A7], 0x109
0000017A 2F3C 0000 0000 move.l -[A7], 0x0
00000180 A986 syscall StopAlert
00000182 544F addq.w A7, 2
00000184 91C8 sub.l A0, A0
00000186 4E75 rts
00000188 0E42 4153 .invalid.w D2, 0x4153 /* 'AS' */ // invalid immediate operation
0000018C 4943 chk.w D4, D3
0000018E 204F movea.l A0, A7
00000190 7665 moveq.l D3, 0x65
00000192 726C moveq.l D1, 0x6C
00000194 6179 bsr +0x7B /* 0000020F */
00000196 7300 moveq.l D1, 0x00
00000198 0662 6173 addi.w -[A2], 0x6173 /* 'as' */
0000019C 2E72 6C00 movea.l A7, [A2 + D6 * 4]
000001A0 0000 1582 ori.b D0, 0x82
000001A4 0000 5CDC ori.b D0, 0xDC
000001A8 0000 017A ori.b D0, 0x7A /* 'z' */
000001AC 0B43 bchg D3, D5
000001AE 616E bsr +0x70 /* 0000021E */
000001B0 6E6F bgt +0x71 /* 00000221 */
000001B2 7420 moveq.l D2, 0x20
000001B4 6669 bne +0x6B /* 0000021F */
000001B6 6E64 bgt +0x66 /* 0000021C */
000001B8 0D4F bchg A7, D6
000001BA 7574 moveq.l D2, 0x74
000001BC 206F 6620 movea.l A0, [A7 + 0x6620]
000001C0 6D65 blt +0x67 /* 00000227 */
000001C2 6D6F blt +0x71 /* 00000233 */
000001C4 7279 moveq.l D1, 0x79
000001C6 1442 movea.b A2, D2
000001C8 4153 chk.w D0, [A3]
000001CA 4943 chk.w D4, D3
000001CC 2049 movea.l A0, A1
000001CE 6E74 bgt +0x76 /* 00000244 */
000001D0 6572 bcs +0x74 /* 00000244 */
000001D2 6E61 bgt +0x63 /* 00000235 */
000001D4 6C20 bge +0x22 /* 000001F6 */
000001D6 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
000001DA 7200 moveq.l D1, 0x00